home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / Demos / Bombardier_PC / BSCRIPTS.CST / 00006_Script_sub menus < prev    next >
Text File  |  1999-04-25  |  1KB  |  60 lines

  1. -- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
  2. -- Developed for Bombardier, Inc.
  3. --
  4. -- All programming developed by: 
  5. -- Robert Fabricant, Valerie Valoueva, Ossi Shaked, 
  6. -- Henry Sauvageot, Chris Howell & Chris Girand
  7. --
  8. -- Use of this code by parties other than @radical.media, inc. or their
  9. --agents 
  10. -- without the express written consent of @radical.media, inc. AND Concurrent 
  11. -- New Media Group, L.L.C. is strictly prohibited.
  12. ------------------------------------------------------
  13. -------*This script is not used in this version of the movie*----------
  14.  
  15. property sprt
  16.  
  17. on getPropertyDescriptionList
  18.   set description=[:]
  19.   
  20.   addProp description,#sprt,[#default:"",#format:#integer, ¼
  21.   #comment:"The sprite number "]
  22.   
  23.   return description
  24. end
  25.  
  26. on getbehaviorDescription
  27.   return "changes the image on rollover"
  28. end
  29.  
  30.  
  31. on mouseEnter me
  32.   global gSub 
  33.   if gSub <> sprt then
  34.     set the castnum of sprite sprt to the castnum of sprite sprt +1
  35.     updatestage 
  36.   end if
  37. end
  38.  
  39. on mouseleave me
  40.   global gSub
  41.   if gSub <> sprt then
  42.     set the castnum of sprite sprt to the castnum of sprite sprt -1
  43.     updatestage
  44.   end if
  45. end
  46.  
  47.  
  48. on mouseup me
  49.   global gSub,gSImage,gMode
  50.   
  51.   puppetsound 3,"mousedn"
  52.   set gMode="menu"
  53.   
  54.   if gSub <> sprt then
  55.     set gSub = sprt
  56.   end if
  57.   pass
  58. end
  59.  
  60.